package com.clms.rents.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.List;

@Data
@TableName("base_area")
public class BaseArea {
 @TableId(value = "id",type = IdType.AUTO)
  private Long baseAreaid;
  private String name;
  private Long parentid;
  private long vieworder;
  @TableField(exist = false)
  private List<BaseArea> children;


}
